package com.glela.order.model;

import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

import com.glela.common.model.ProductTag;

public class OrderDetail implements Serializable {
	private static final long serialVersionUID = 7473845321322012008L;

	private Long id;

	private Long orderId;// 订单id

	private Long orderObjectId;// 父订单id

	private Long userId;//用户id

	private Integer brandId;// 品牌id

	private String brandName;// 品牌名称

	private Long goodId;// 商品id

	private String goodName;// 商品名称

	private String labelName;// 商品别名

	private Long productId;// 货品id

	private String specName;// 商品规格名称组合

	private String navigateImg1;// 商品图片介绍图1

	private Integer storeId;// 店铺id

	private Long inventoryId;// 库存id

	private Integer productPrice;// 商品价格（没有任何优惠的价格）

	private Integer salePrice;// 当前售价

	private Integer settlementPrice;// 当前结算成本价

	private Integer quantity;// 商品数量

	private Integer totalPrice;// 总售价

	private Integer totalSettlementprice;// 总结算成本价

	private Integer totalFee;// 实际支付金额

	private Integer cashCoin;// 现金币折扣

	private Integer balancePaid;// 余额支付

	private Integer promotionDiscount;// 优惠劵折扣金额

	private Integer	redPacketId;	//红包ID
	private Long	redPacketFee;	//红包抵扣金额

	private Integer talentSerialId;// 达人期编辑与分享id

	private Long talentShareGoodId;// 达人分享商品id

	private Long talentId;// 达人id

	private Integer discount;// 折扣%

	private Integer talentAgio;// 当前佣金比例

	private Integer applywelfareId;//商品归属分类 （1.正常2.福利社 3体验）

	private String createTime;// 创建时间

	private String updateTime;// 修改时间

	private Integer status;// 订单状态(0禁用,1待支付,2待发货,3待收货,4已完成,5售后,6退款,7取消)

	private Integer	refund;
	private Integer	isGift;
	private Long	oActivId;			//活动ID
	private Long	oActivDiscountFee;	//活动优惠金额

	private float backtrackCash;// 可返妆币

	private int	isAfterSale;
	private int	commentStatus;

	private int		afterType;
	private int		afterStatus	= 5;
	private int		afterIsRefund;
	private String	afterReason	= "";
	private long	afterSalesId;
	private int		goodsType;			//商品类型 0:c区商品，1:b区商品
	private String	recommendFrom;
	private String	recommendFromChange;
	private String	memberRecommend;
	private String	talentTeacher;
	private Integer	orderChannel;
	private Integer	activityType;		//活动类型(2.福利社 3体验 4拼团 5秒杀)
	private int		selfSupport;
	private Integer	limitTimeSaleId;	//分时抢购ID
	private Integer	isOpenStoreGoods;	//是否是开店商品0 不是  1 是

	private Integer				limitTimeSaleDetailId;							//分时抢购商品明细ID
	private List<ProductTag>	productTags		= new LinkedList<ProductTag>();	//热卖标签
	private String				salePriceDesc	= "";							//销售价描述

	private String livePlanId = "";

	public String getLivePlanId() {
		return livePlanId;
	}

	public void setLivePlanId(String livePlanId) {
		this.livePlanId = livePlanId;
	}

	public String getRecommendFromChange() {
		return recommendFromChange;
	}

	public void setRecommendFromChange(String recommendFromChange) {
		this.recommendFromChange = recommendFromChange;
	}

	public Integer getIsGift() {
		return isGift;
	}

	public void setIsGift(Integer isGift) {
		this.isGift = isGift;
	}

	public Long getoActivId() {
		return oActivId;
	}

	public void setoActivId(Long oActivId) {
		this.oActivId = oActivId;
	}

	public Integer getLimitTimeSaleId() {
		return limitTimeSaleId == null ? 0 : limitTimeSaleId;
	}

	public void setLimitTimeSaleId(Integer limitTimeSaleId) {
		this.limitTimeSaleId = limitTimeSaleId;
	}

	public int getAfterType() {
		return afterType;
	}

	public void setAfterType(int afterType) {
		this.afterType = afterType;
	}

	public int getAfterStatus() {
		return afterStatus;
	}

	public void setAfterStatus(int afterStatus) {
		this.afterStatus = afterStatus;
	}

	public int getAfterIsRefund() {
		return afterIsRefund;
	}

	public void setAfterIsRefund(int afterIsRefund) {
		this.afterIsRefund = afterIsRefund;
	}

	public String getAfterReason() {
		return afterReason;
	}

	public void setAfterReason(String afterReason) {
		this.afterReason = afterReason;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Long getOrderObjectId() {
		return orderObjectId;
	}

	public void setOrderObjectId(Long orderObjectId) {
		this.orderObjectId = orderObjectId;
	}

	public Integer getBrandId() {
		return brandId;
	}

	public void setBrandId(Integer brandId) {
		this.brandId = brandId;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public Long getGoodId() {
		return goodId;
	}

	public void setGoodId(Long goodId) {
		this.goodId = goodId;
	}

	public String getGoodName() {
		return goodName;
	}

	public void setGoodName(String goodName) {
		this.goodName = goodName;
	}

	public String getLabelName() {
		return labelName;
	}

	public void setLabelName(String labelName) {
		this.labelName = labelName;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public String getSpecName() {
		return specName;
	}

	public void setSpecName(String specName) {
		this.specName = specName;
	}

	public String getNavigateImg1() {
		return navigateImg1;
	}

	public void setNavigateImg1(String navigateImg1) {
		this.navigateImg1 = navigateImg1;
	}

	/** 店铺id */
	public Integer getStoreId() {
		return storeId;
	}

	/** 店铺id */
	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}

	public Long getInventoryId() {
		return inventoryId;
	}

	public void setInventoryId(Long inventoryId) {
		this.inventoryId = inventoryId;
	}

	public Integer getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(Integer productPrice) {
		this.productPrice = productPrice;
	}

	public Integer getSalePrice() {
		return salePrice == null ? 0 : salePrice;
	}

	public void setSalePrice(Integer salePrice) {
		this.salePrice = salePrice;
	}

	public Integer getSettlementPrice() {
		return settlementPrice;
	}

	public void setSettlementPrice(Integer settlementPrice) {
		this.settlementPrice = settlementPrice;
	}

	public Integer getQuantity() {
		return quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public Integer getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(Integer totalPrice) {
		this.totalPrice = totalPrice;
	}

	public Integer getTotalSettlementprice() {
		return totalSettlementprice;
	}

	public void setTotalSettlementprice(Integer totalSettlementprice) {
		this.totalSettlementprice = totalSettlementprice;
	}

	public Integer getTotalFee() {
		return totalFee;
	}

	public void setTotalFee(Integer totalFee) {
		this.totalFee = totalFee;
	}

	public Integer getCashCoin() {
		return cashCoin;
	}

	public void setCashCoin(Integer cashCoin) {
		this.cashCoin = cashCoin;
	}

	public Integer getPromotionDiscount() {
		return promotionDiscount;
	}

	public void setPromotionDiscount(Integer promotionDiscount) {
		this.promotionDiscount = promotionDiscount;
	}

	public Integer getRedPacketId() {
		return redPacketId;
	}

	public void setRedPacketId(Integer redPacketId) {
		this.redPacketId = redPacketId;
	}

	public Long getRedPacketFee() {
		return redPacketFee;
	}

	public void setRedPacketFee(Long redPacketFee) {
		this.redPacketFee = redPacketFee;
	}

	/** 达人期编辑与分享id */
	public Integer getTalentSerialId() {
		return talentSerialId;
	}

	/** 达人期编辑与分享id */
	public void setTalentSerialId(Integer talentSerialId) {
		this.talentSerialId = talentSerialId;
	}

	/** 达人分享商品id */
	public Long getTalentShareGoodId() {
		return talentShareGoodId == null ? 0 : talentShareGoodId.longValue();
	}

	/** 达人分享商品id */
	public void setTalentShareGoodId(Long talentShareGoodId) {
		this.talentShareGoodId = talentShareGoodId;
	}

	/** 达人id */
	public Long getTalentId() {
		return talentId == null ? 0 : talentId.longValue();
	}

	/** 达人id */
	public void setTalentId(Long talentId) {
		this.talentId = talentId;
	}

	public Integer getDiscount() {
		return discount;
	}

	public void setDiscount(Integer discount) {
		this.discount = discount;
	}

	public Integer getTalentAgio() {
		return talentAgio;
	}

	public void setTalentAgio(Integer talentAgio) {
		this.talentAgio = talentAgio;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	/** 用户id */
	public Long getUserId() {
		return userId;
	}

	/** 用户id */
	public void setUserId(Long userId) {
		this.userId = userId;
	}

	/** 商品归属分类 （1.正常2.福利社 3体验） */
	public Integer getApplywelfareId() {
		return applywelfareId;
	}

	/** 商品归属分类 （1.正常2.福利社 3体验） */
	public void setApplywelfareId(Integer applywelfareId) {
		this.applywelfareId = applywelfareId;
	}

	public Integer getRefund() {
		return refund;
	}

	public void setRefund(Integer refund) {
		this.refund = refund;
	}

	public int getCommentStatus() {
		return commentStatus;
	}

	public void setCommentStatus(int commentStatus) {
		this.commentStatus = commentStatus;
	}

	public int getIsAfterSale() {
		return isAfterSale;
	}

	public void setIsAfterSale(int isAfterSale) {
		this.isAfterSale = isAfterSale;
	}

	public float getBacktrackCash() {
		return backtrackCash;
	}

	public void setBacktrackCash(float backtrackCash) {
		this.backtrackCash = backtrackCash;
	}

	public long getAfterSalesId() {
		return afterSalesId;
	}

	public void setAfterSalesId(long afterSalesId) {
		this.afterSalesId = afterSalesId;
	}

	/** 商品类型 0:c区商品，1:b区商品 */
	public int getGoodsType() {
		return goodsType;
	}

	/** 商品类型 0:c区商品，1:b区商品 */
	public void setGoodsType(int goodsType) {
		this.goodsType = goodsType;
	}

	public String getRecommendFrom() {
		return recommendFrom;
	}

	public void setRecommendFrom(String recommendFrom) {
		this.recommendFrom = recommendFrom;
	}

	public String getMemberRecommend() {
		return memberRecommend;
	}

	public void setMemberRecommend(String memberRecommend) {
		this.memberRecommend = memberRecommend;
	}

	public String getTalentTeacher() {
		return talentTeacher;
	}

	public void setTalentTeacher(String talentTeacher) {
		this.talentTeacher = talentTeacher;
	}

	public Integer getOrderChannel() {
		return orderChannel;
	}

	public void setOrderChannel(Integer orderChannel) {
		this.orderChannel = orderChannel;
	}

	/** 活动类型(2.福利社 3体验 4拼团 5秒杀) */
	public Integer getActivityType() {
		return activityType;
	}

	/** 活动类型(2.福利社 3体验 4拼团 5秒杀) */
	public void setActivityType(Integer activityType) {
		this.activityType = activityType;
	}

	public int getSelfSupport() {
		return selfSupport;
	}

	public void setSelfSupport(int selfSupport) {
		this.selfSupport = selfSupport;
	}

	public Integer getLimitTimeSaleDetailId() {
		return limitTimeSaleDetailId == null ? 0 : limitTimeSaleDetailId;
	}

	public void setLimitTimeSaleDetailId(Integer limitTimeSaleDetailId) {
		this.limitTimeSaleDetailId = limitTimeSaleDetailId;
	}

	public Integer getIsOpenStoreGoods() {
		return isOpenStoreGoods;
	}

	public void setIsOpenStoreGoods(Integer isOpenStoreGoods) {
		this.isOpenStoreGoods = isOpenStoreGoods;
	}

	public Integer getBalancePaid() {
		return balancePaid;
	}

	public void setBalancePaid(Integer balancePaid) {
		this.balancePaid = balancePaid;
	}

	public List<ProductTag> getProductTags() {
		return productTags;
	}

	public String getSalePriceDesc() {
		return salePriceDesc;
	}

	public void setSalePriceDesc(String salePriceDesc) {
		this.salePriceDesc = salePriceDesc;
	}

	public Long getoActivDiscountFee() {
		return oActivDiscountFee;
	}

	public void setoActivDiscountFee(Long oActivDiscountFee) {
		this.oActivDiscountFee = oActivDiscountFee;
	}

}
